all:
	g++ consumer.cpp -o consumer_cpp -std=c++11 -lrdkafka++ -lz -lpthread -lrt
	g++ producer.cpp -o producer_cpp -std=c++11 -lrdkafka++ -lz -lpthread -lrt

consumer:
	g++ consumer.cpp -o consumer_cpp -std=c++11 -lrdkafka++ -lz -lpthread -lrt

producer:
	g++ producer.cpp -o producer_cpp -lrdkafka++

clean:
	rm -f producer_cpp consumer_cpp